<?php
/**
 * 得到市
 */
namespace Home\Model;
use Think\Model\ViewModel;
class UserViewModel extends ViewModel{
	protected $connection = 'USER';
	protected $tablePrefix = '';
    public $viewFields = array(
    'User'=>array('id','vid','icon','truename','taobao_verify','mobile_verify','mobileispass','jd_verify','_table'=>"user",'_as'=>'User'),
    'Login'=>array('mobile','_table'=>"user_login",'_as'=>'Login','_on'=>'User.vid=Login.vid'),
   );
}
?>